from pydantic import BaseModel, ValidationError, constr, Field
from typing import Optional
from common import ai


# 生成标题
class ParamSetting(BaseModel):
    modelName: str
    apikeyKimi: Optional[str] = Field(default="")
    apikeyQianwen: Optional[str] = Field(default="")
    apikeyGemini: Optional[str] = Field(default="")
    apikeyGpt: Optional[str] = Field(default="")
